<template>
  <Ncards v-for="i in CardsData" :title="i.title" :author="i.author" :content="i.content" :times="i.times" :img_src="i.img_src"></Ncards>



</template>

<script>
import Ncards from "@/components/NoticeCards"
export default {
  name: 'cards',
  components:{Ncards},
  data(){
    return{
      CardsData:[{
        title:"标题",
        content:"这是内容",
        author:"作者",
        times:"时间",
        img_src:require('@/assets/test1.jpg')
      },{
        title:"标题2",
        content:"这是内容",
        author:"作者",
        times:"时间",
        img_src:require('@/assets/test1.jpg')
      }]
    }
  }
}
</script>

<style scoped>

</style>
